package file;

import java.io.IOException;
import java.io.RandomAccessFile;

public class FileWriterTest {

	public static void main(String[] args) throws IOException {
	
		RandomAccessFile randomAccessFile = new RandomAccessFile("write.txt", "rw");
		randomAccessFile.writeLong(1);
		randomAccessFile.write("\r\n".getBytes());
		randomAccessFile.close();
	}
}
